package com.wgy.blog.service;

import com.github.pagehelper.PageInfo;
import com.wgy.blog.common.Result;
import com.wgy.blog.pojo.SortNav;

import java.util.List;

/**
 * @Author:Iny
 * @Data：2021/11/15 9:39
 */
public interface BaseService<T> {
    Result<List<T>> findAll(PageInfo pageInfo);

    Result update(T t);

    Result add(T t);

    Result deleteSortNav(int id);
}
